package com.zheng.study.base.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Mongo 基类
 * ============================================================================
 * author : fallenpanda
 * createDate:  2018/11/23 。
 * ============================================================================
 */
public class MongoEntity implements Serializable {
	private static final long serialVersionUID = -7762454922187011042L;

	/**
	 * ID
	 */
	protected String id;
	/**
	 * 创建时间
	 */
	protected Date createTime;
	/**
	 * 修改时间
	 */
	protected Date modifyTime;
	/**
	 * 创建时间戳
	 */
	protected String timestamp;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
}
